package com.shop.annotation;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ws {

    @GetMapping("/ws")
    public String handleWebSocketRequest() {
        // 处理逻辑
        return "WebSocket request handled";
    }
}